/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.camara.jersey.Dao;

import com.camara.jersey.Model.User;
import java.util.ArrayList;
import java.util.List;


public enum UserDao {
    instance;
    
    private List <User> users =new ArrayList <User> ();
    
    private UserDao () {
        User user1 = new User (100,"atcamara","passer");
        User user2 = new User (101,"kane","admin");
        User user3 = new User (102,"sambe","visitor");
        users.add(user1);
        users.add(user2);
        users.add(user3);
        
        
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }
    
    

}
